<script type="text/javascript" src="${base}/scripts/kcgl/zksq_content.js"></script>
<form id="zkdForm" method="post" class="easyui-tabs" fit="true">
    <input name="zkd.id" type="hidden" value="${(zkd.id)!''}"/>
    <input name="zkd.zt" type="hidden" value="${(zkd.zt)!''}"/>
    <input name="zkd.zkdh" type="hidden" value="${(zkd.zkdh)!''}"/>

    <div title="转库信息" style="height: 100%;overflow-y: auto">
        <table style="width:98%" class="tb tab-t">
            <col width="15%"/>
            <col width="35%"/>
            <col width="15%"/>
            <col width="35%"/>
            <tr style="height: 20px;"></tr>
            <tr>
                <th>公司名称：</th>
                <td>
                    <input id="zkd_sqgs_id" name="zkd.sqgs.id" type="text" class="easyui-combotree input-text"
                           data-options="url:'${base}/organ/gsjg/gsjg_tree?type=1',panelHeight:'200'"
                           value="<#if zkd.sqgs?? && zkd.sqgs.id??>${(zkd.sqgs.id)!}<#else>${(zggsId)!}</#if>"/>
                </td>
                <th>状&nbsp;&nbsp;&nbsp;&nbsp;态：</th>
                <td><select class="easyui-combobox input-text" data-options="panelHeight:'125'" required="true"
                            name="zkd.type" value="${(zkd.type)!}">
                    <option value="bgzk">保供转库</option>
                    <option value="zczk">正常转库</option>
                </select></td>

            </tr>
            <tr style="height: 20px;"></tr>
            <tr>
                <th>转出仓库：</th>
                <td>
                    <input id="zkd_zcck_id" name="zkd.zcck.id" type="text" value="${(zkd.zcck.id)!}" required="true"
                           class="input-text"/>
                </td>
                <th>转入仓库：</th>
                <td>
                    <input id="zkd_zrck_id" name="zkd.zrck.id" type="text" value="${(zkd.zrck.id)!}" required="true"
                           class="input-text"/>
                </td>
            </tr>
            <tr style="height: 20px;"></tr>
            <tr>
                <th>需要配送：</th>
                <td><label><input type="checkbox" name="zkd.xyps" value="true"
                                  <#if (zkd.xyps)?? && zkd.xyps==true>checked </#if>/></label></td>
                <th>需要验收：</th>
                <td><label><input type="checkbox" name="zkd.xyys" value="true"
                                  <#if (zkd.xyys)?? && zkd.xyys==true>checked </#if>/></label></td>
            </tr>
        </table>
    </div>
    <div title="转库明细">
        <div id="zkd_zkdmx_toolbar">
            <div class="PTools">
                <ul class="niu">
                    <li><a name="xzzkdmx" href="javascript:void(0);" plain="true">新增转库单明细</a></li>
                    <li><a name="sczkdmx" href="javascript:void(0);" class="del" plain="true">删除转库单明细</a></li>
                </ul>
            </div>
        </div>
        <table id="zkd_mx">
        </table>
    </div>
    <div title="费用明细">
        <div id="zkd_zkdfy_toolbar">
            <div class="PTools">
                <ul class="niu">
                    <li><a name="xzzkdfy" href="javascript:void(0);" plain="true">新增销售费用</a></li>
                    <li><a name="sczkdfy" href="javascript:void(0);" class="del" plain="true">删除销售费用</a></li>
                </ul>
            </div>
        </div>
        <table id="zkd_fy">
        </table>
    </div>
</form>